package com.watson.http;

import java.io.Serializable;

public class JsonBeanDada implements Serializable {
    private String status;
    private String result;
    private int errorCode;
    private int code;
    private String msg;
    private boolean success;
    private boolean fail;

    @Override
    public String toString() {
        return "JsonBeanDada{" +
                "status='" + status + '\'' +
                ", result='" + result + '\'' +
                ", errorCode=" + errorCode +
                ", code=" + code +
                ", msg='" + msg + '\'' +
                ", success='" + success + '\'' +
                ", fail='" + fail + '\'' +
                '}';
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public boolean isFail() {
        return fail;
    }

    public void setFail(boolean fail) {
        this.fail = fail;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }
}
